package com.ruoyi.system.domain.config;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 附件对象 vs_attachment
 * 
 * @author zzx
 * @date 2024-06-13
 */
@ApiModel("附件")
public class VsAttachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 站点 */
    @Excel(name = "站点")
    @ApiModelProperty("站点")
    private Long siteId;

    /** 类别 */
    @Excel(name = "类别")
    @ApiModelProperty("类别")
    private String category;

    /** 管理员ID */
    @Excel(name = "管理员ID")
    @ApiModelProperty("管理员ID")
    private Long adminId;

    /** 会员ID */
    @Excel(name = "会员ID")
    @ApiModelProperty("会员ID")
    private Integer userId;

    /** 物理路径 */
    @Excel(name = "物理路径")
    @ApiModelProperty("物理路径")
    private String url;

    /** 宽度 */
    @Excel(name = "宽度")
    @ApiModelProperty("宽度")
    private String imagewidth;

    /** 高度 */
    @Excel(name = "高度")
    @ApiModelProperty("高度")
    private String imageheight;

    /** 图片类型 */
    @Excel(name = "图片类型")
    @ApiModelProperty("图片类型")
    private String imagetype;

    /** 图片帧数 */
    @Excel(name = "图片帧数")
    @ApiModelProperty("图片帧数")
    private String imageframes;

    /** 文件名称 */
    @Excel(name = "文件名称")
    @ApiModelProperty("文件名称")
    private String filename;

    /** 文件大小 */
    @Excel(name = "文件大小")
    @ApiModelProperty("文件大小")
    private String filesize;

    /** mime类型 */
    @Excel(name = "mime类型")
    @ApiModelProperty("mime类型")
    private String mimetype;

    /** 透传数据 */
    @Excel(name = "透传数据")
    @ApiModelProperty("透传数据")
    private String extparam;

    /** 上传时间 */
    @Excel(name = "上传时间")
    @ApiModelProperty("上传时间")
    private Long uploadtime;

    /** 存储位置 */
    @Excel(name = "存储位置")
    @ApiModelProperty("存储位置")
    private String storage;

    /** 文件 sha1编码 */
    @Excel(name = "文件 sha1编码")
    @ApiModelProperty("文件 sha1编码")
    private String sha1;

    private Long createtime;

    private Long updatetime;

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setImagewidth(String imagewidth) 
    {
        this.imagewidth = imagewidth;
    }

    public String getImagewidth() 
    {
        return imagewidth;
    }
    public void setImageheight(String imageheight) 
    {
        this.imageheight = imageheight;
    }

    public String getImageheight() 
    {
        return imageheight;
    }
    public void setImagetype(String imagetype) 
    {
        this.imagetype = imagetype;
    }

    public String getImagetype() 
    {
        return imagetype;
    }
    public void setImageframes(String imageframes) 
    {
        this.imageframes = imageframes;
    }

    public String getImageframes() 
    {
        return imageframes;
    }
    public void setFilename(String filename) 
    {
        this.filename = filename;
    }

    public String getFilename() 
    {
        return filename;
    }
    public void setFilesize(String filesize) 
    {
        this.filesize = filesize;
    }

    public String getFilesize() 
    {
        return filesize;
    }
    public void setMimetype(String mimetype) 
    {
        this.mimetype = mimetype;
    }

    public String getMimetype() 
    {
        return mimetype;
    }
    public void setExtparam(String extparam) 
    {
        this.extparam = extparam;
    }

    public String getExtparam() 
    {
        return extparam;
    }
    public void setUploadtime(Long uploadtime) 
    {
        this.uploadtime = uploadtime;
    }

    public Long getUploadtime() 
    {
        return uploadtime;
    }
    public void setStorage(String storage) 
    {
        this.storage = storage;
    }

    public String getStorage() 
    {
        return storage;
    }
    public void setSha1(String sha1) 
    {
        this.sha1 = sha1;
    }

    public String getSha1() 
    {
        return sha1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteId", getSiteId())
            .append("category", getCategory())
            .append("adminId", getAdminId())
            .append("userId", getUserId())
            .append("url", getUrl())
            .append("imagewidth", getImagewidth())
            .append("imageheight", getImageheight())
            .append("imagetype", getImagetype())
            .append("imageframes", getImageframes())
            .append("filename", getFilename())
            .append("filesize", getFilesize())
            .append("mimetype", getMimetype())
            .append("extparam", getExtparam())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("uploadtime", getUploadtime())
            .append("storage", getStorage())
            .append("sha1", getSha1())
            .toString();
    }
}
